package com.gistmap.util;

/**
 * Created by Administrator on 2017/4/12.
 */
public class Result {

    private boolean success;// 是否成功标志

    private String message;// 错误信息

    public Result() {
    }


    // 错误时的构造器
    public Result(boolean success, String message) {
        this.success = success;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }


    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
